home *** CD-ROM | disk | FTP | other *** search
/ VRML 2.0 Sourcebook (2nd Edition) / VRML 2.0 Sourcebook CD [md5 fed90f4f9c39d5a60d477058775c7e21].iso / software / radiance / ez3d / win95nt / data.z / pointLightDragger.iv < prev    next >
Text File  |  1996-05-02  |  2KB  |  83 lines

  1. #Inventor V2.0 ascii
  2.  
  3. DEF pointLightOverallMaterial       Material {
  4.     diffuseColor    [ 0.5 0.5 0.5 ]
  5.     emissiveColor    [ 0.5 0.5 0.5 ]
  6. }
  7.  
  8. DEF POINT_LIGHT_DRAGGER_LINE_TRANSLATOR Group {
  9.     LightModel { model PHONG }
  10.     Texture2 {}
  11.     DrawStyle { lineWidth 1 }
  12.  
  13.     Complexity { value 0.3 }
  14.     Rotation { rotation 0 0 1 1.57079 }
  15.     Cylinder { height 3.0 radius 0.2 }
  16. }
  17.  
  18. DEF pointLightTranslatorLineTranslator Separator {
  19.     renderCaching ON
  20.     Material {
  21.     diffuseColor    [ 0.5 0.5 0.5 ]
  22.     emissiveColor    [ 0.5 0.5 0.5 ]
  23.     }
  24.     USE POINT_LIGHT_DRAGGER_LINE_TRANSLATOR
  25. }
  26.  
  27. DEF pointLightTranslatorLineTranslatorActive Separator {
  28.     renderCaching ON
  29.     Material {
  30.     diffuseColor    [ 0.5 0.5 0.0 ]
  31.     emissiveColor    [ 0.5 0.5 0.0 ]
  32.     }
  33.     USE POINT_LIGHT_DRAGGER_LINE_TRANSLATOR
  34. }
  35. DEF POINT_LIGHT_DRAGGER_PLANE_TRANSLATOR Group {
  36.     LightModel { model PHONG }
  37.     Texture2 {}
  38.     PickStyle { style UNPICKABLE }
  39.     DrawStyle { lineWidth 1 }
  40.  
  41.     Complexity { value 0.3 }
  42.     Sphere { radius 1.0 }
  43.  
  44.     # Rays of light emanating from sphere
  45.     DrawStyle { style LINES lineWidth 1 }
  46.  
  47.     PickStyle { style UNPICKABLE }
  48.  
  49.     NormalBinding { value PER_VERTEX_INDEXED }
  50.     MaterialBinding { value OVERALL }
  51.     Coordinate3 { point [   1.0608  1.0608 0, 1.326  1.326 0,
  52.                -1.0608 -1.0608 0,-1.326 -1.326 0, 
  53.                -1.0608  1.0608 0,-1.326  1.326 0,
  54.                 1.0608 -1.0608 0, 1.326 -1.326 0,
  55.  
  56.                            0  1.0608  1.0608, 0  1.326  1.326,
  57.                0 -1.0608 -1.0608, 0 -1.326 -1.326, 
  58.                0 -1.0608  1.0608, 0 -1.326  1.326,
  59.                0  1.0608 -1.0608, 0  1.326 -1.326,
  60.  
  61.                             1.0608 0  1.0608, 1.326 0  1.326,
  62.                -1.0608 0 -1.0608,-1.326 0 -1.326, 
  63.                -1.0608 0  1.0608,-1.326 0  1.326,
  64.                 1.0608 0 -1.0608, 1.326 0 -1.326 ] }
  65.     LineSet { numVertices [ 2, 2, 2, 2, 
  66.                 2, 2, 2, 2, 
  67.                 2, 2, 2, 2 ] }
  68. }
  69.  
  70. DEF pointLightTranslatorPlaneTranslator Separator {
  71.     renderCaching ON
  72.     USE POINT_LIGHT_DRAGGER_PLANE_TRANSLATOR
  73. }
  74.  
  75. DEF pointLightTranslatorPlaneTranslatorActive Separator {
  76.     renderCaching ON
  77.     Material {
  78.     diffuseColor    [ 0.5 0.5 0.0 ]
  79.     emissiveColor    [ 0.5 0.5 0.0 ]
  80.     }
  81.     USE POINT_LIGHT_DRAGGER_PLANE_TRANSLATOR
  82. }
  83.